<template>
  <div >
    <div class="newgoods-wrap">
      <div class="newgoods-left">
        <img src="../../../static/daohangtiao/tj-14.png" />
        <p class="p-tit">闭关修炼
          <router-link to="/xiulian">
            <span>GO</span>
          </router-link>
        </p>
      </div>
      <div class="newgoods-right">
        <div class="newgoods-r-t">
          <p class="p-tit">本周新品
            <router-link to="/xinpin">
              <span>GO</span>
            </router-link>
          </p>
          <img src="../../../static/daohangtiao/tj.png"/>
        </div>
        <div class="newgoods-r-b">
          <p class="p-tit">必买清单
            <router-link to="/bimai">
              <span>GO</span>
            </router-link>
          </p>
          <img src="../../../static/daohangtiao/tj-12.png"/>
        </div>
      </div>
    </div>

    <h3>即将开售</h3>

    <div class="con-wrap" v-for="item in tits">
      <div class="con-tit">
        <span class="span"></span>
        <span class="title">{{item.tit}}</span>
        <span class="span"></span>
      </div>
      <div class="img-wrap">
        <div class="imgs-list" v-for="item2 in arr1">
          <div class="imgs-list-top">
            <div class="hot">
              <img :src="item2.url" alt="">
            </div>
            <img :src="item2.url1" alt="">
            <h4>{{item2.title}}</h4>
          </div>
          <span class="span">{{item2.time}}</span>
          <p>倒计时: <span>00</span>时<span>00</span>分<span>00</span>秒</p>
        </div>
      </div>
    </div>
    <h5>加载更多</h5>


  </div>
</template>

<script>

  export default {
    name: "Zdj",
    data(){
      return{
        tits:[
          {tit:'美妆专区'},
          {tit:'美食专区'}
        ],
        arr1:[
          {url:require('../../../static/zeidianji/zdj-11.png'),url1:require('../../../static/zeidianji/zdj-4.png'),title:'会呼吸丝滑蜜粉',time:'即将开始'},
          {url:require('../../../static/zeidianji/zdj-11.png'),url1:require('../../../static/zeidianji/zdj-5.png'),title:'BB矿物粉饼9g',time:'即将开始'},
          {url:require('../../../static/zeidianji/zdj-11.png'),url1:require('../../../static/zeidianji/zdj-6.png'),title:'植萃腮红胭脂',time:'即将开始'},
          {url:require('../../../static/zeidianji/zdj-11.png'),url1:require('../../../static/zeidianji/zdj-7.png'),title:'蜗牛饰容BB霜50g',time:'即将开始'},
          {url:require('../../../static/zeidianji/zdj-11.png'),url1:require('../../../static/zeidianji/zdj-8.png'),title:'植萃莹透粉饼',time:'即将开始'},
          {url:require('../../../static/zeidianji/zdj-11.png'),url1:require('../../../static/zeidianji/zdj-9.png'),title:'矿物晶纯清透蜜粉',time:'即将开始'},
        ],
      }
    },
    components: {

    }
  }
</script>

<style scoped>
  .newgoods-wrap{
    width: 72rem;
    height: 28rem;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #ccc;
    border-top: 2px solid #ccc;
    margin-bottom: 2rem;
  }

  .newgoods-left{
    position: relative;
    width: 31rem;
    height: 28rem;
    border-right: 1px solid #cccccc;
  }
  .p-tit{
    position: absolute;
    top: 0;
    left: .5rem;
    padding: .5rem;
    font-size: 2.4rem;
    color: #e53e42;
  }
  .p-tit span{
    width: 5.9rem;
    height: 4rem;
    line-height: 4rem;
    display: block;
    text-align: center;
    margin-top: .5rem;
    background: #e53e42;
    color: #fff;
  }
  .newgoods-left img{
    margin-top: 6rem;
    margin-left: 2rem;
    height: 22rem;
  }
  .newgoods-right{
    width: 39.5rem;
    height: 28rem;
    padding: 0 0.5rem;
  }
  .newgoods-r-t{
    position: relative;
    width: 39rem;
    height: 13.5rem;
    border-bottom: 1px solid #cccccc;

  }

  .newgoods-r-t img{
    height: 100%;
    margin-left: 14rem;
  }
  .newgoods-r-t{
    width: 100%;
    height: 14rem;
  }
  .newgoods-r-b{
    position: relative;
    width: 38rem;
    height: 13.5rem;
  }
  .newgoods-r-b img{
    height: 100%;
    width: 16rem;
    margin-left: 14rem;
  }

  h3{
    width: 72rem;
    height: 5rem;
    background: #fff;
    color:#e53e42;
    text-align: center;
    font-size: 3.6rem;
    padding: 2rem 0;
  }





  .con-wrap{
    width: 66rem;
    height: 72rem;
    padding: 0 3rem;
    background: #fff;
  }
  .con-tit{
    display: flex;
    justify-content: center;
    height: 6rem;
    line-height: 6rem;
  }
  .con-tit .title{
    display: inline-block;
    margin: 0 1.5rem;
    font-size: 3rem;
    color: #4d4d4d;
  }
  .con-tit .span{
    display: inline-block;
    width: 6rem;
    height: 0.1rem;
    background: #cccccc;
    margin-top: 3rem;
  }
  .img-wrap{
    width: 66rem;
    height: 65rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .imgs-list{
    width: 20rem;
    height: 30rem;
  }
  .imgs-list p{
    font-size: 1.8rem;
    color: #4d4d4d;
    margin-top: .5rem;
  }
  .imgs-list p>span{
    color:#e53e42;

  }
  .span{
    display: block;
    font-size: 1.8rem;
    color: #4d4d4d;
    margin-top: 1rem;
  }
  .imgs-list-top{
    position: relative;
    width: 100%;
    height: 19rem;
    border: 1px solid #ccc;
    text-align: center;
    padding-top: 5rem;
  }
  .imgs-list-top>img{
    width: 13rem;
    height: 14rem;
    margin: 0 auto;
  }
  .imgs-list-top h4{
    font-size: 2.4rem;
    margin-top: 1rem;
    color: #4d4d4d;
  }
  .hot{
    position: absolute;
    top: 0;
    left: 0;
    width: 3.5rem;
    height: 7rem;
  }
  .hot img{
    width: 100%;
    height: 100%;
  }
  h5{
    width: 72rem;
    height: 7rem;
    line-height: 7rem;
    text-align: center;
    color: #808080;
    background: #f2f2f2;
    font-size: 1.8rem;
  }
</style>
